SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '677157891c4feb87d0b1595cef62205e0c03b875a106df307cf7513e6ee03313' 
  AND token = 'UkAkqXh30LJqsOgNkTCkzwStrlJ71ayI7MQ2OLqOFNE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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