SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c7189e9eeaef4151e7cbed6366322a63ec84244accc9e6fdaf8246742a829f63' 
  AND token = 'oQWGlSqViUIRgO96amwYx5lza4II9OIky2k4oB7P0dg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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