SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6861d5a6689c391b5b37fde3b50d14f6d69ecb3db794ad6169b2fd72722ca73c' 
  AND token = 'QIfF+3EFCrj4RZ3bJ6E6GipsIA+n0Mo2XTPjwxGrJNI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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