SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c74a20a1c6d0c20d52ecf31c47e40f3d74803b7757cf0c43b2e8b249308dc1b9' 
  AND token = 'Jd2hqlZYPQ+2SIlXarD7FfwRM9KQ/Zdq3bjf6ZhVq34=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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