SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12eea553520020099c1f02b3a44bf818b4482888b288fc4918588cdaa2a92f94' 
  AND token = 'tkTU2eX7jH0bNhS/ZetYDvWoBdLIah8oMjI79xqEDVc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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