SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f306d11c5b56a5698c71e988df9a301afe46abcca64fd55aa71ecfd686982b5' 
  AND token = 'fEelyqLy25YlEK6x4whVar4aQdThhUoiIrQMt72/P+w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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