SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bec2f24fc732c17326d18c52d603b72359017c3dee2ec660772914ee47f03cfb' 
  AND token = 'kHV1QHQK3fFLXuj/y2yl6zBHykuO0FXm59racTsj5v0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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