SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf631c885d4b6eabee6a781ea0f40d297f896afbdbbf15fcf2865584852ee15f' 
  AND token = 'Nhp2sm0/Brgla27oVzL4R/+lo//bvUERm8M2QfWMrb8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00063

JSON explain

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