SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '25348e3e239d18c0ac48adbe7076f67037fa2ea8adcb7ad0c3379eed077f3912' 
  AND token = 'H7cguWkbzhXzTl4xwGMNm/XbeqBoLb0c2RRrUnzO5HI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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