SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17a5dab2ea73faf4c44e588baf2157da93ef5f8999a3879cf1ae688d3616362d' 
  AND token = 'w6m8IhQM5eXQp/nq7WHEAN1bGlx4XOFzJuJi3CK0W5o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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