SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '74378df5d46129e08475e42db74265840596aba6a13365c0ac335a01372057ea' 
  AND token = 'RInuKNQRhtmX2S8u9NPA4Gz6pRWWGnXYxrb3DCgQDOs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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