SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1005f29c72ab6126c2296d651fcc74853daeab97c09d2f6dfee8ecc1244b6f12' 
  AND token = '22oNMn4ljBDxvDxjofhdUYZHeNHRfW9x/1odLC6snBc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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