SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fa5b32d3c1f7c2d28aecd068836d51e976f6c578c456c3634b1ae42dbf5d31e0' 
  AND token = 'HnBom5rSKmon/mVQOnVvi6EcklbK7xmjRHFsZyxX5hk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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