SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b56f295985f72973cef637dd5599d6684a13021cb80077854b3a990c5d837fe5' 
  AND token = '0YJyYBlFCv8TuTX+4Yb7IWehN6KSU+cJUpyUZUrZ6c0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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