SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bfe55037b69be770b9403caa293175243fd50a4a35480d4818b6e88c270eb744' 
  AND token = 'QU/eZCrMeDdkybn/8lPaJ07blkyI6ULt1bmXRa5iV98=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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