SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '674ba7c71516e35be618f23228fc85634179736c95596300a372fd4176150374' 
  AND token = 'bj+7Tl8o2bTAuiOckMoWygiHM+9Y4k6kECPfSHqH5ds=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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