SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bfff16b1560dc5b57b0ae845fe69f50092aea61af8e0ec68c6e96a0d02b3043e' 
  AND token = '5sSOJf7D8pl89KPxsOQ21w5/bsQ530uPdlGuXGhciqQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}