SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0dff977979ad1b41ac7c8bb147dc7fedcca29ef69ff1dbd1a44b564e3f6379dd' 
  AND token = 'fkMbZhpsCYWDKvvjxAzJ+HNA9XtZOxk4s1lH/GYy0Cs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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