SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '56847847289db7051dd4dbb46f716b5ba040eed05142c37810c70e375dd08347' 
  AND token = 'ybYD7zlpaySKQALV5hY/fERDm6IGsUe3t8TLqcaI/JA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}