SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a79a05d60f6be3f8fe1f7aee65991a563fb4b1352a416b83f24a91453947013' 
  AND token = 'iU0BnuQ86+WiUDXsyaSU7V9Xm2Q3hw3X5WZTu5w1jh4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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