SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '245306d2969d312174c99ba40391abff7714add68d05020738ed334be7337bb2' 
  AND token = 'HfVLRaoyYF6HQsO8JRsDPxjVvzSnEW4W07T0oYWae1M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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