SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '117c5a0f35519af36250283330d3df7f5a866309d38464e721293e050afeec68' 
  AND token = 'jYtpmLyVYmv2fyHTWn1QxDdJlXRo1ZGnANIR1eyDMys=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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