SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c89f940b5b7b85d9741f2634578e8f43d918086ff3f91b3788ff718a66e713f7' 
  AND token = 'apLj+g31ypLBHHyyER0mx5kyOFVPl6Rre0Umfota9tA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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