SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5617c95cdf934ac0ace467eeff98667288d3a8e49ec1788b313fd463cf2a9aa4' 
  AND token = 'RPTrmt9ITIneW236qSQL6KGrnb9Aa50CvXzOBpXHxc8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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