SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1715ce20ae7689d0e81ef1c0f98403f59dd9da42e03ca39bc20a0e0b16487512' 
  AND token = 'V5Z5Px/VS0rx1Ebs1XP6mmYX5lzwSDqeAiJXsTwfi5g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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